import request from '@/utils/request'
export function getmenu() {
  return request.get('/sys_menu/allData')
}
export function getrole(params) {
  return request.get('/sys_role/list', { params })
}
export function getuser(params) {
  return request.get('/sys_user/list', { params })
}
export function getconfig() {
  return request.get('/sys_config/all')
}
export function getroledetail(id) {
  return request.get('/sys_role/rowInfo?id=' + id)
}
